-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build docker image #302
build docker image #302
Conversation
Signed-off-by: Peter Balogh <[email protected]>
89df294
to
17f44a5
Compare
|
||
### Use Docker image | ||
|
||
Logging in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might add an example (with a random command) where no config file is mounted, and the base url and the token come from an env var.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Peter Balogh <[email protected]>
f691616
to
b5ed720
Compare
Signed-off-by: Peter Balogh <[email protected]>
b5ed720
to
2d7c827
Compare
Signed-off-by: Peter Balogh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, please manual test it thoroughly.
# Install kubectl | ||
ARG KUBECTL_VERSION=v1.16.1 | ||
RUN curl -L -s https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl | ||
RUN curl -L -s https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator -o /usr/local/bin/aws-iam-authenticator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: shouldn't we put the AWS IAM authenticator version (1.14.6
) into an argument as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, the release date is contained by the URL, so the proper date should be passed as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed.
Build a docker image with all the runtime deps of banzai cli that can be used in a ci flow or a kubernetes task.